package com.ldpp.disruptor.handler;

import com.ldpp.disruptor.event.Event;
import com.lmax.disruptor.EventHandler;

/**
 * @author ：gongtan
 * @date ：Created in 2021/3/15 10:17
 * @description：  消费者
 * @modified By：
 */
public class LdppEventhandler implements EventHandler<Event> {

    @Override
    public void onEvent(Event event, long l, boolean b) throws Exception {
        System.out.println("event消费者获取生产者的数据..event" + event.getEventType());
    }
}
